<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>New Pentaho Report Builder</title>
    <style>body{visibility: visible;}</style>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
	<link rel="shortcut icon" href="/pentaho-style/favicon.ico" />
	
    <!-- load the pentaho styling.  Try to use those if possible for consistency 
    <link rel="stylesheet" type="text/css" href="/pentaho-style/styles-new.css" /> -->
	
    <!-- load the prb specific styling.  Make any changes in prb.css-->
    <link rel="stylesheet" type="text/css" href="css/prb.css" />
</head>

<body class="body">
	<!-- A Pentaho Report Builder report consists of a Title, some prompts and the query Result in a jQuery table -->
	<h1>New Pentaho Report Builder</h1>
	<div id="ds_select"></div>
	<div id="ds_value_select"></div>
	<div id="ds_query_select"></div>
	
	<script type="text/javascript" src="/pentaho/js/oop.js"></script>
	<script type="text/javascript" src="/pentaho/js/app.js"></script>
    <script type="text/javascript" src="../../pentaho-cdf/js/jquery.js"></script>
    <script type="text/javascript" src="../../pentaho-cdf/js/jquery.ui.js"></script>
	<script type="text/javascript" src="../../pentaho-cdf/js/jquery.blockUI.js"></script> 
	<script type="text/javascript" src="../../pentaho-cdf/js/jquery.tooltip.js"></script> 
	<script type="text/javascript" src="../../pentaho-cdf/js/Base.js"></script> 
	<script type="text/javascript" src="../../pentaho-cdf/js/Dashboards.js"></script> 
	<script type="text/javascript" src="../../pentaho-cdf/js/CoreComponents.js"></script> 
    <script type="text/javascript" src="/pentaho/js/pentaho-ajax.js"></script>
    <script type="text/javascript" src="/pentaho/js/xhr.js"></script>
    <script type="text/javascript" src="/pentaho/js/pmd.js"></script>
    <script type="text/javascript" src="/pentaho/js/pas.js"></script>
    <script type="text/javascript" src="/pentaho/js/cda.js"></script>
	<script type="text/javascript" src="js/prb.js"></script>
	<script type="text/javascript">
		pentaho.prbapp = new pentaho.app();
		
		var prb_datasource_select = {
			name: 'prb-datasource',
			objectClass: pentaho.prb.DataSourceSelect,
			element: "ds_select"
		};

		var prb_datasourcevalue_select = {
			name: 'prb-datasourcevalue-select',
			objectClass: pentaho.prb.DataSourceValueSelect,
			element: "ds_value_select"
		};

		var prb_datasourcequery_select = {
			name: 'prb-datasourcequery-select',
			objectClass: pentaho.prb.DataSourceQuerySelect,
			element: "ds_query_select"
		};
		
		var moduleArray = [prb_datasourcequery_select, prb_datasourcevalue_select, prb_datasource_select];
		$(document).ready(
			function(){
				pentaho.prbapp.init(moduleArray);
			}
		)
	</script>
</body>
</html>
